package com.power.leopard.common.exception;

import com.power.leopard.remote.common.exception.RpcException;

public class SerializationException extends RpcException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -9182339764899662943L;

	public SerializationException() {
		super();
	}

	public SerializationException(String msg) {
		super(msg);
	}

	public SerializationException(String msg, Throwable cause) {
		super(msg, cause);
	}

	public SerializationException(Throwable cause) {
		super(cause);
	}

	public String getErrorCode() {
		if (errorCode == null) {
			return "0100";
		}
		return errorCode;
	}
}
